<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			
		</style>
		<script type="text/javascript">
			function clickMe(){
				var input1 = document.getElementById("inputId");
				console.log(input1);
				console.log(input1.value);
				var inputs = document.getElementsByTagName("input");
				console.log(inputs);
				console.log(inputs[1]);
			}
		</script>
		<script type="text/javascript">
			console.log("hello js");
			alert("Hello JS!!!")
		</script>
	</head>
	<body>
		<input type="text"  id="inputId" value="java js" />
		<br />
		<input type="button" onclick="clickMe()" value="点我" />
	</body>
</html>
